package capricornus.components.tooltips
{
	import flash.display.DisplayObject;
	import flash.display.Sprite;

	public class ToolTipRender
	{
		public function ToolTipRender()
		{
		}
		
		public function getTips( data:Object ):DisplayObject
		{
			if( data==null ) return null;
			
			var s:Sprite = new Sprite();
			s.graphics.beginFill( Math.random()*0xffffff );
			s.graphics.drawRect(0, 0, 50, 70);
			s.mouseChildren = false;
			s.mouseEnabled = false;
			return s;
		}
	}
}